package com.eva.admin.dao.system.dict.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@Schema(description = "字典列表视图")
public class SystemDictVO implements Serializable {

    @Schema(description = "主键", example = "1")
    private Integer id;

    @Schema(description = "字典编码")
    private String code;

    @Schema(description = "字典名称")
    private String name;

    // v5.1.0，scope字段更改为scopes
    @Schema(description = "作用域")
    private String scopes;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建时间")
    private Date createdAt;

    @Schema(description = "更新时间")
    private Date updatedAt;

    @Schema(description = "创建人ID")
    private Integer creatorId;

    @Schema(description = "创建人姓名")
    private String creatorRealName;

    @Schema(description = "更新人ID")
    private Integer updaterId;

    @Schema(description = "更新人姓名")
    private String updaterRealName;
}
